package com.gzhryc.net_marketing.api.protocol.order;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class FindSupplierGoodsOrderListResponse extends SecurityResponse<FindSupplierGoodsOrderListResponse.Body> {

    private static final long serialVersionUID = 1L;

    public FindSupplierGoodsOrderListResponse() {
        this.body = new Body();
    }

    public FindSupplierGoodsOrderListResponse(Integer code, String msg) {
        super(code, msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;
        
		private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }
    }

    public static class Item implements Serializable{

        private static final long serialVersionUID = 1L;
        
		private String tradeNo;
        private String title;
        private String note;
        private String goodsCode;
        private Long goodsSpaceId;
        private String goodsSpaceName;
        private Integer goodsCount;
        private Integer state;
        private String stateName;
        private Date createDate;

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public String getGoodsCode() {
            return goodsCode;
        }

        public void setGoodsCode(String goodsCode) {
            this.goodsCode = goodsCode;
        }

        public Long getGoodsSpaceId() {
            return goodsSpaceId;
        }

        public void setGoodsSpaceId(Long goodsSpaceId) {
            this.goodsSpaceId = goodsSpaceId;
        }

        public String getGoodsSpaceName() {
            return goodsSpaceName;
        }

        public void setGoodsSpaceName(String goodsSpaceName) {
            this.goodsSpaceName = goodsSpaceName;
        }

        public Integer getGoodsCount() {
            return goodsCount;
        }

        public void setGoodsCount(Integer goodsCount) {
            this.goodsCount = goodsCount;
        }

        public Integer getState() {
            return state;
        }

        public void setState(Integer state) {
            this.state = state;
        }

        public String getStateName() {
            return stateName;
        }

        public void setStateName(String stateName) {
            this.stateName = stateName;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }
    }
}
